//
//  AXFPayMiddleTableViewCell.m
//  AIXF
//
//  Created by Macx on 2017/7/13.
//  Copyright © 2017年 Macx. All rights reserved.
//

#import "AXFPayMiddleTableViewCell.h"


@interface AXFPayMiddleTableViewCell ()

@property (weak, nonatomic) IBOutlet UIButton *weixinBtn;

@property (weak, nonatomic) IBOutlet UIButton *qqBtn;

@property (weak, nonatomic) IBOutlet UIButton *airPayBtn;

@property (weak, nonatomic) IBOutlet UIButton *daofuBtn;

@end
@implementation AXFPayMiddleTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.weixinBtn.selected = YES;
}

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame])
    {
        self.weixinBtn.selected = YES;
    }
    return self;
}


- (IBAction)weixinAction:(UIButton *)sender {
    sender.selected = YES;
    self.qqBtn.selected = NO;
    self.airPayBtn.selected = NO;
    self.daofuBtn.selected = NO;
    
}
- (IBAction)qqAction:(UIButton *)sender {
    sender.selected = YES;
    self.weixinBtn.selected = NO;
    self.airPayBtn.selected = NO;
    self.daofuBtn.selected = NO;
}
- (IBAction)airPayAction:(UIButton *)sender {
    sender.selected = YES;
    self.qqBtn.selected = NO;
    self.weixinBtn.selected = NO;
    self.daofuBtn.selected = NO;
}
- (IBAction)daofuAction:(UIButton *)sender {
    sender.selected = YES;
    self.qqBtn.selected = NO;
    self.airPayBtn.selected = NO;
    self.weixinBtn.selected = NO;
}

@end
